var express = require('express')
const CompanyController = require('../controller/CompanyController')
var CompanyRouter = express.Router()
CompanyRouter.get("/admin/companies",CompanyController.getList)
CompanyRouter.post("/admin/companies",CompanyController.addList)
CompanyRouter.delete("/admin/companies/:id",CompanyController.deleteList)
CompanyRouter.put("/admin/companies/:id",CompanyController.updateList)
module.exports = CompanyRouter